FROM google/nodejs

WORKDIR /app
ADD /src/package.json /app/
RUN npm --registry https://registry.npm.taobao.org install
ADD . /app

EXPOSE 8080
CMD []
ENTRYPOINT ["/nodejs/bin/npm", "start"]
